﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tippelde.Entities;
using Tippelde.Services.Dtos;

namespace Tippelde.Services.Bets
{
    public interface IBetManager
    {
        BetHeaderData GetBet(string userName, int eventId);
        BetHeaderData AddBet(string userName, int eventId, int homeBet, int awayBet);
        void DeleteBet(string userName, int eventId);
        void AddResultAndCheckBets(string userName, int eventId, ResultHeaderData res);
        void DeleteResultAndRevertBetResults(string userName, int eventId);
        CompetitionTable GetCompetitionTable(string userName, int groupId);
    }
}
